package com.Pounds.service.Impl;

import com.Pounds.pojo.Post;
import com.Pounds.dao.PostDao;
import com.Pounds.service.PostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PostServiceImpl implements PostService {

    @Autowired
    private PostDao postDao;

    @Override
    public List<Post>[] getPostList(String timestamp, String number) {
        return postDao.getPosts(timestamp, number);
    }

    @Override
    public List<Post>[] getPersonPostList() {
        return null;
    }

    @Override
    public void addNewPost() {

    }

    @Override
    public void addNewComment() {

    }

    @Override
    public void addNewLike() {

    }
}
